package com.wang.conf;


import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;

public class AppConf {

    public final static Integer socketPort = 9904;
    public final static Integer webSocketPort = 9905;

    public final static long updateDevTime = 1000 * 60 * 20;


    public static String BigBig = "BB";
    public static String BigLitter = "BL";
    public static String LitterBig = "LB";
    public static String LitterLitter = "LL";

    public static Integer commandInterval = 1000;  //单个指令间隔时间 3000毫秒
    public static Integer waitCommandInterval = 1000;  //单个指令间隔时间 3000毫秒


    //短信 水质在线异常通知
    //public static final String DevAbnormal ="SMS_238150255";
    public static final String DevAbnormal ="SMS_464435801";

    public static final String signName ="陆恒";

    //微信配置
    public static final String weAppId = "wxbc5ccf8ddfeaf689";
    public static final String weAppSecret = "8f22e6b10e97af8e139906f8e7c3fa51";

    public static final String mpAppId = "wx8b5a4c7b3513da7d";
    public static final String mpTemplate_id = "EZP0wvnUnId5iNLPu5-KtX4tAbXTHXr2wIAUAt8BM8E";//QFdhQePVyd7wCT6yjBRVKcrFz2SAqynUS3PJ65tuq-Q
    // M5BgZ92EjqQVxcUK8Rx_Xo2ivVVl_kFjxgN6vdJVzEU  //EZP0wvnUnId5iNLPu5-KtX4tAbXTHXr2wIAUAt8BM8E
    public static final String weAppUrl = "http://weixin.qq.com/download";

    public static final String weAppPagePath = "pages/home/index";
    public static final String mp_sendDataUrl = "https://api.weixin.qq.com/cgi-bin/message/wxopen/template/uniform_send?access_token=";

    //所有微信token 从此服务器获取access_token
    public static String access_token =null;
    public static Long getAccess_tokenTime = 0L;


    //public static long delayTime = 2*60*1000; //延迟时间
    public static long delayTime = 500; //延迟时间
    //public static long delayTime = 1000; //延迟时间
    public static long delayTime2 = 10*60*1000; //延迟时间
    //public static long delayTime =10; //延迟时间



}
